     <layout name="Layout/layout" />
     <script type="text/javascript">
       function tourl(id){
        window.location.href="/Home/Index/show/id/"+id;
      }
      function getUrl(id){
        window.location.href="/Home/Index/index/to/"+id;
      }
    </script>
    <div class="main container">
     <div class="re-title text-center">
        <h3>淘宝天猫内部优惠券 比双11便宜 <span class="text-danger">27.3%</span> </h3>
      </div>
      <include file="Layout:menu" />
      <div class="recommend ">
        <div class="row bg-white">
          <div class="shopinfo">
            <foreach name="data" item="vo">
              <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3 ">
                <div class="thumbnail" style="cursor: pointer;">
                  <div class="thisimg">
                    <div class="imgtitle text-center">
                      {$vo['goodsticket']}
                    </div>
                    <img src="{$vo.goodsimg}" alt="{$vo.goodsname}"  onclick="tourl({$vo['id']})" class="getImgWidth">
                  </div>
                  <div class="caption">
                  <p class="text-warning" style="font-size: 1.12rem;"  onclick="tourl({$vo['id']})"> {$vo.goodsname|mb_substr=###,0,28,'utf-8'}</p>
                    <div class="row text-muted ">
                      <div class="col-xs-5 ">月销：<span class="text-muted" >{$vo.goodsmoonsum}</span></div>
                      <div class="col-xs-7 text-right">结束：<span class="text-danger">{$vo.goodsend}</span></div>
                      <div class="clearfix"></div>
                    </div>
                    <div class="price-title">
                      <div class="pr-info">
                        价格： <span class="text-danger" style="font-weight: bold; font-size: 1.142rem;">￥{$vo.goodsprice}</span>
                      </div>
                      <div class="pr-info text-right">
                        <a class="btn btn-danger btn-xs" href="{$vo['goodsticketshare']}" target="_blank">先领券</a> 
                        <a class="btn btn-warning btn-xs" href="{$vo['goodslink']}" target="_blank">再购买</a>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </foreach>
            <div class="clearfix"></div>
            <br>
            <div class="text-center pageclass">
              {$show}
            </div>
            <div class="clearfix"></div>
          </div>
        </div> 
      </div>
    </div>
    